package com.youmu.shop.receiver.domain;

import com.youmu.shop.base.domain.Base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "收货")
public class Receiver extends Base{

	@ApiModelProperty(value = "用户id")
	private Long userId;
	
	@ApiModelProperty(value = "收件人")
	private String consignee;
	
	@ApiModelProperty(value = "电话")
	private String phone;
	
	@ApiModelProperty(value = "性别")
	private String gender;
	
	@ApiModelProperty(value = "省")
	private Integer provinceCode;
	
	@ApiModelProperty(value = "市")
	private Integer cityCode;
	
	@ApiModelProperty(value = "区")
	private Integer districtCode;
	
	@ApiModelProperty(value = "详细地址")
	private String detailAddress;
	
	@ApiModelProperty(value = "标签")
	private String label;
	
	@ApiModelProperty(value = "是否默认")
	private boolean isDefault;
	
	@ApiModelProperty(value = "是否删除")
	private boolean isDel;
	
    private Long ageGroupId;

	public Receiver(){}

	public Receiver(Long id,Long userId, Boolean isDel) {
		super.setId(id);
		this.userId = userId;
		super.setIsDel(isDel);
	}
	
	
	

	
    public Long getAgeGroupId() {
        return ageGroupId;
    }

    public void setAgeGroupId(Long ageGroupId) {
        this.ageGroupId = ageGroupId;
    }

    public boolean isDel() {
		return isDel;
	}

	public void setDel(boolean isDel) {
		this.isDel = isDel;
	}

	public void setDefault(boolean isDefault) {
		this.isDefault = isDefault;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getConsignee() {
		return consignee;
	}

	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Integer getProvinceCode() {
		return provinceCode;
	}

	public void setProvinceCode(Integer provinceCode) {
		this.provinceCode = provinceCode;
	}

	public Integer getCityCode() {
		return cityCode;
	}

	public void setCityCode(Integer cityCode) {
		this.cityCode = cityCode;
	}

	public Integer getDistrictCode() {
		return districtCode;
	}

	public void setDistrictCode(Integer districtCode) {
		this.districtCode = districtCode;
	}

	public String getDetailAddress() {
		return detailAddress;
	}

	public void setDetailAddress(String detailAddress) {
		this.detailAddress = detailAddress;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public boolean getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(boolean isDefault) {
		this.isDefault = isDefault;
	}
	
	

}